package cn.xiaov.service.impl;

import cn.xiaov.dao.LoginUserDao;
import cn.xiaov.domain.LoginUser;
import cn.xiaov.service.LoginUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginUserServiceImpl implements LoginUserService {

    @Autowired
    LoginUserDao loginUserDao;

    @Override
    public List< LoginUser> findByUserName(String username) {
        return loginUserDao.findByUserName(username);
    }
}
